# antdocs插件
# -D 同 --dev  -D , yarn add -D vuepress-plugin-permalink-pinyin  同 yarn add vuepress-plugin-permalink-pinyin --dev

yarn add -D vuepress-plugin-homebadge
# OR npm install -D vuepress-plugin-homebadge
#使用
#module.exports = {
#  plugins: ['homebadge']
#}

# 全站变灰插件，一般用于哀悼日
yarn add -D vuepress-plugin-graysite
# OR npm install -D vuepress-plugin-graysite
# 使用
#module.exports = {
#  plugins: ['graysite']
#}
#配置
#module.exports = {
#  plugins: [
#    ['graysite',{
#      startDate: '2020-04-03 00:00:00',
#      endDate: '2020-04-04 23:59:59'
#    }]
#  ]
#}

# vuepress官方插件
yarn add -D @vuepress/plugin-medium-zoom
# OR npm install -D @vuepress/plugin-medium-zoom

yarn add -D @vuepress/plugin-nprogress
yarn add -D @vuepress/plugin-back-to-top
yarn add -D boboidream/vuepress-bar
yarn add -D vuepress-plugin-permalink-pinyin --dev
yarn add -D vuepress-plugin-rpurl --dev
yarn add -D vuepress-plugin-sitmap


# npm install -D boboidream/vuepress-bar
# npm install -D vuepress-plugin-sitmap


mkdir docs
cd docs
echo '# Hello VuePress - first blog!' >README.md
mkdir .vuepress
cd .vuepress
mkdir public
vim config.js

# 增加多个
yarn add -D vuepress-plugin-homebadge vuepress-plugin-graysite
cnpm install -D vuepress-plugin-homebadge vuepress-plugin-graysite